﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using DTO_HealthInsurance;
using BLL_HealthInsurance;

namespace HealthInsuranceMgm
{
    public partial class News : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            BLLNews obj = new BLLNews();
            DTONews objNews = new DTONews();
            objNews.Id = Convert.ToInt32(Request.QueryString["id"]);
            dtlNews.DataSource = obj.GetNewById(objNews);
            dtlNews.DataBind();
        }
    }
}